package com.erp.entity.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
@AllArgsConstructor
public enum  ResultStatus {
    
    SUCCESS(200, "OK"),
    BAD_REQUEST(400, "Bad Request"),
    INTERNAL_SERVER_ERROR(500, "Internal Server Error"),
    NO_PERMISSION(403, "No Permission");
    /**
     * 业务异常码
     */
    private Integer code;

    /**
     * 业务异常信息描述
     */
    private String message;
    
}
